4D Internet Commands v12.1FTP_PrintDir | 
            ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
                    
                        
    
    
                         | 
                
                    
                         
    4D Internet Commands v12.1
 
FTP_PrintDir 
 
        
 | 
                |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FTP_PrintDir ( ftp_ID ; directory ) -> 戻り値 | ||||||||
| 引数 | 型 | 説明 | ||||||
| ftp_ID | 倍長整数 | 
             
         | 
        FTPログイン参照 | |||||
| directory | テキスト | 
             
         | 
        Unixディレクトリパス名 | |||||
| 戻り値 | 整数 | 
             
         | 
        エラーコード | |||||
FTP_PrintDir コマンドはdirectory 引数にカレントワーキングディレクトリ (CWD) を返します。
FTP_GetDirListコマンドもカレントワーキングディレクトリを返します。しかしFTP_PrintDir コマンドの実行は速く、引数も少ないです。
ftp_ID は、FTP_Loginにより確立されたFTPセッション参照です。
directory 引数にはカレントワーキングディレクトリが返されます。
この例題では、$Cwd変数にカレントワーキングディレクトリが返されます。
 $err:=FTP_PrintDir(ftp_ID;$Cwd)
	プロダクト: 4D Internet Commands
	テーマ: IC ファイル転送
	番号: 
        88889
        
        
        
	
	初出: 4D Internet Commands 6.7
Current Working Directory***